%%%test for k and alpha parameters
NUMBER=50;
x1=[0,0];
x2=[0,0];
D1(1)=0;
D2(1)=0;
for i=1:NUMBER-1
    x1=[x1;[i/50,i/50]];            %Linear 
    x2=[x2;rand(1,2)];              %standard uniform distribution
    [A,V,inputSize]=generateSimpleConnection(x1);
    D1(i)=getNetworkLength(A,0.1,100);
    [A,V,inputSize]=generateSimpleConnection(x2);
    D2(i)=getNetworkLength(A,0.1,100);
end
j=1:49;
figure(1)
plot(j,D1); hold on
plot(j,D2)